package com.sanben.category.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sanben.common.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author cyh
 * @description: 分类业务对应关系表实体类
 * @date: 2020-08-18
 */
@Data
@ApiModel(value = "CategoryRelationship对象", description = "分类业务对应关系表")
@TableName("category_relationship")
public class CategoryRelationship extends BaseEntity {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "业务Id")
    private Integer businessId;

    @ApiModelProperty(value = "分类Id")
    private Integer categoryId;
}
